import { IParam } from '../../common';
import { IDECtrlModel } from './i-de-ctrl-model';

/**
 * 向导面板部件模型接口
 *
 * @export
 * @interface IWizardPanelModel
 * @extends {IDECtrlModel}
 */
export interface IWizardPanelModel extends IDECtrlModel {
	/**
	 * @description 初始化行为
	 * @type {string}
	 * @memberof IWizardPanelModel
	 */
	initAction: string;

	/**
	 * @description 完成行为
	 * @type {string}
	 * @memberof IWizardPanelModel
	 */
	finishAction: string;

	/**
	 * @description 状态应用实体属性
	 * @type {string}
	 * @memberof IWizardPanelModel
	 */
	stateField?: string;

	/**
	 * @description 是否是状态向导
	 * @type {boolean}
	 * @memberof IWizardPanelModel
	 */
	isStateWizard: boolean;

	/**
	 * @description 按钮标题
	 * @type {IParam}
	 * @memberof IWizardPanelModel
	 */
	buttonCaption: IParam;

	/**
	 * @description 步骤集合
	 * @type {IParam[]}
	 * @memberof IWizardPanelModel
	 */
	steps: IParam[];

	/**
	 * @description 向导表单集合
	 * @type {IParam[]}
	 * @memberof IWizardPanelModel
	 */
	wizardForm: IParam[];

	/**
	 * @description 编辑表单集合
	 * @type {IParam[]}
	 * @memberof IWizardPanelModel
	 */
	editForm: IParam[];
}
